package com.jxd.project.wzgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jxd.project.menu.model.Log;

import java.util.List;

public interface ILogService extends IService<Log> {
    /**
     * 根据申请ID删除申请日志
     * @param applicationId
     * @return
     */
    boolean delWithApplicationId(int applicationId);

    /**
     * 根据多个申请ID删除申请日志
     * @param applicationIds
     * @return
     */
    boolean delWithApplicationIds(List<Integer> applicationIds);

    /**
     * 根据申请ID查询申请日志
     * @param applicationId
     * @return
     */
    List<Log> selectLogWithApplicationId(int applicationId);
}
